import time
from machine import Pin

# 构建 pin_12 引脚对象，GPIO12输出
pin12 = Pin(12, Pin.OUT)

while True:
    pin12.on()
    time.sleep(0.5)
    pin12.off()
    time.sleep(0.5)
